active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
PROPER(U11(X1, X2, X3)) → PROPER(X3)
U121(ok(X1), ok(X2), ok(X3)) → U121(X1, X2, X3)
PROPER(U21(X1, X2, X3)) → PROPER(X1)
ACTIVE(U22(X1, X2, X3)) → ACTIVE(X1)
PROPER(U12(X1, X2, X3)) → PROPER(X3)
PROPER(plus(X1, X2)) → PLUS(proper(X1), proper(X2))
U221(ok(X1), ok(X2), ok(X3)) → U221(X1, X2, X3)
X(X1, mark(X2)) → X(X1, X2)
ACTIVE(plus(X1, X2)) → PLUS(active(X1), X2)
ACTIVE(plus(X1, X2)) → ACTIVE(X1)
ACTIVE(U11(tt, M, N)) → U121(tt, M, N)
ACTIVE(x(X1, X2)) → X(active(X1), X2)
PROPER(x(X1, X2)) → PROPER(X1)
PROPER(x(X1, X2)) → X(proper(X1), proper(X2))
PROPER(s(X)) → S(proper(X))
PROPER(plus(X1, X2)) → PROPER(X1)
PROPER(U21(X1, X2, X3)) → PROPER(X3)
U111(ok(X1), ok(X2), ok(X3)) → U111(X1, X2, X3)
ACTIVE(x(N, s(M))) → U211(tt, M, N)
ACTIVE(U12(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(plus(X1, X2)) → ACTIVE(X2)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(x(X1, X2)) → ACTIVE(X2)
ACTIVE(U12(tt, M, N)) → PLUS(N, M)
PROPER(U22(X1, X2, X3)) → PROPER(X2)
PROPER(U22(X1, X2, X3)) → U221(proper(X1), proper(X2), proper(X3))
S(ok(X)) → S(X)
ACTIVE(U21(X1, X2, X3)) → U211(active(X1), X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
ACTIVE(U22(X1, X2, X3)) → U221(active(X1), X2, X3)
PROPER(U12(X1, X2, X3)) → PROPER(X1)
ACTIVE(plus(X1, X2)) → PLUS(X1, active(X2))
TOP(mark(X)) → PROPER(X)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
PLUS(mark(X1), X2) → PLUS(X1, X2)
TOP(ok(X)) → ACTIVE(X)
X(mark(X1), X2) → X(X1, X2)
U211(ok(X1), ok(X2), ok(X3)) → U211(X1, X2, X3)
ACTIVE(U21(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(x(X1, X2)) → X(X1, active(X2))
PROPER(s(X)) → PROPER(X)
U211(mark(X1), X2, X3) → U211(X1, X2, X3)
PROPER(U21(X1, X2, X3)) → U211(proper(X1), proper(X2), proper(X3))
ACTIVE(U12(X1, X2, X3)) → U121(active(X1), X2, X3)
PROPER(U12(X1, X2, X3)) → PROPER(X2)
PLUS(X1, mark(X2)) → PLUS(X1, X2)
ACTIVE(U11(X1, X2, X3)) → U111(active(X1), X2, X3)
TOP(ok(X)) → TOP(active(X))
ACTIVE(U21(tt, M, N)) → U221(tt, M, N)
S(mark(X)) → S(X)
PROPER(U12(X1, X2, X3)) → U121(proper(X1), proper(X2), proper(X3))
ACTIVE(U22(tt, M, N)) → X(N, M)
ACTIVE(U11(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U22(tt, M, N)) → PLUS(x(N, M), N)
X(ok(X1), ok(X2)) → X(X1, X2)
PROPER(U22(X1, X2, X3)) → PROPER(X3)
PLUS(ok(X1), ok(X2)) → PLUS(X1, X2)
ACTIVE(U12(tt, M, N)) → S(plus(N, M))
ACTIVE(plus(N, s(M))) → U111(tt, M, N)
PROPER(U11(X1, X2, X3)) → PROPER(X2)
PROPER(U11(X1, X2, X3)) → PROPER(X1)
PROPER(U22(X1, X2, X3)) → PROPER(X1)
TOP(mark(X)) → TOP(proper(X))
PROPER(U21(X1, X2, X3)) → PROPER(X2)
PROPER(plus(X1, X2)) → PROPER(X2)
PROPER(x(X1, X2)) → PROPER(X2)
ACTIVE(x(X1, X2)) → ACTIVE(X1)
PROPER(U11(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
ACTIVE(s(X)) → S(active(X))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
PROPER(U11(X1, X2, X3)) → PROPER(X3)
U121(ok(X1), ok(X2), ok(X3)) → U121(X1, X2, X3)
PROPER(U21(X1, X2, X3)) → PROPER(X1)
ACTIVE(U22(X1, X2, X3)) → ACTIVE(X1)
PROPER(U12(X1, X2, X3)) → PROPER(X3)
PROPER(plus(X1, X2)) → PLUS(proper(X1), proper(X2))
U221(ok(X1), ok(X2), ok(X3)) → U221(X1, X2, X3)
X(X1, mark(X2)) → X(X1, X2)
ACTIVE(plus(X1, X2)) → PLUS(active(X1), X2)
ACTIVE(plus(X1, X2)) → ACTIVE(X1)
ACTIVE(U11(tt, M, N)) → U121(tt, M, N)
ACTIVE(x(X1, X2)) → X(active(X1), X2)
PROPER(x(X1, X2)) → PROPER(X1)
PROPER(x(X1, X2)) → X(proper(X1), proper(X2))
PROPER(s(X)) → S(proper(X))
PROPER(plus(X1, X2)) → PROPER(X1)
PROPER(U21(X1, X2, X3)) → PROPER(X3)
U111(ok(X1), ok(X2), ok(X3)) → U111(X1, X2, X3)
ACTIVE(x(N, s(M))) → U211(tt, M, N)
ACTIVE(U12(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(plus(X1, X2)) → ACTIVE(X2)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(x(X1, X2)) → ACTIVE(X2)
ACTIVE(U12(tt, M, N)) → PLUS(N, M)
PROPER(U22(X1, X2, X3)) → PROPER(X2)
PROPER(U22(X1, X2, X3)) → U221(proper(X1), proper(X2), proper(X3))
S(ok(X)) → S(X)
ACTIVE(U21(X1, X2, X3)) → U211(active(X1), X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
ACTIVE(U22(X1, X2, X3)) → U221(active(X1), X2, X3)
PROPER(U12(X1, X2, X3)) → PROPER(X1)
ACTIVE(plus(X1, X2)) → PLUS(X1, active(X2))
TOP(mark(X)) → PROPER(X)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
PLUS(mark(X1), X2) → PLUS(X1, X2)
TOP(ok(X)) → ACTIVE(X)
X(mark(X1), X2) → X(X1, X2)
U211(ok(X1), ok(X2), ok(X3)) → U211(X1, X2, X3)
ACTIVE(U21(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(x(X1, X2)) → X(X1, active(X2))
PROPER(s(X)) → PROPER(X)
U211(mark(X1), X2, X3) → U211(X1, X2, X3)
PROPER(U21(X1, X2, X3)) → U211(proper(X1), proper(X2), proper(X3))
ACTIVE(U12(X1, X2, X3)) → U121(active(X1), X2, X3)
PROPER(U12(X1, X2, X3)) → PROPER(X2)
PLUS(X1, mark(X2)) → PLUS(X1, X2)
ACTIVE(U11(X1, X2, X3)) → U111(active(X1), X2, X3)
TOP(ok(X)) → TOP(active(X))
ACTIVE(U21(tt, M, N)) → U221(tt, M, N)
S(mark(X)) → S(X)
PROPER(U12(X1, X2, X3)) → U121(proper(X1), proper(X2), proper(X3))
ACTIVE(U22(tt, M, N)) → X(N, M)
ACTIVE(U11(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U22(tt, M, N)) → PLUS(x(N, M), N)
X(ok(X1), ok(X2)) → X(X1, X2)
PROPER(U22(X1, X2, X3)) → PROPER(X3)
PLUS(ok(X1), ok(X2)) → PLUS(X1, X2)
ACTIVE(U12(tt, M, N)) → S(plus(N, M))
ACTIVE(plus(N, s(M))) → U111(tt, M, N)
PROPER(U11(X1, X2, X3)) → PROPER(X2)
PROPER(U11(X1, X2, X3)) → PROPER(X1)
PROPER(U22(X1, X2, X3)) → PROPER(X1)
TOP(mark(X)) → TOP(proper(X))
PROPER(U21(X1, X2, X3)) → PROPER(X2)
PROPER(plus(X1, X2)) → PROPER(X2)
PROPER(x(X1, X2)) → PROPER(X2)
ACTIVE(x(X1, X2)) → ACTIVE(X1)
PROPER(U11(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
ACTIVE(s(X)) → S(active(X))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
X(ok(X1), ok(X2)) → X(X1, X2)
X(X1, mark(X2)) → X(X1, X2)
X(mark(X1), X2) → X(X1, X2)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
X(ok(X1), ok(X2)) → X(X1, X2)
X(X1, mark(X2)) → X(X1, X2)
X(mark(X1), X2) → X(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(ok(X1), ok(X2), ok(X3)) → U221(X1, X2, X3)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(ok(X1), ok(X2), ok(X3)) → U221(X1, X2, X3)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U211(ok(X1), ok(X2), ok(X3)) → U211(X1, X2, X3)
U211(mark(X1), X2, X3) → U211(X1, X2, X3)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U211(ok(X1), ok(X2), ok(X3)) → U211(X1, X2, X3)
U211(mark(X1), X2, X3) → U211(X1, X2, X3)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PLUS(ok(X1), ok(X2)) → PLUS(X1, X2)
PLUS(mark(X1), X2) → PLUS(X1, X2)
PLUS(X1, mark(X2)) → PLUS(X1, X2)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
PLUS(ok(X1), ok(X2)) → PLUS(X1, X2)
PLUS(mark(X1), X2) → PLUS(X1, X2)
PLUS(X1, mark(X2)) → PLUS(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
S(ok(X)) → S(X)
S(mark(X)) → S(X)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
S(ok(X)) → S(X)
S(mark(X)) → S(X)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U121(ok(X1), ok(X2), ok(X3)) → U121(X1, X2, X3)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
U121(ok(X1), ok(X2), ok(X3)) → U121(X1, X2, X3)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(ok(X1), ok(X2), ok(X3)) → U111(X1, X2, X3)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(ok(X1), ok(X2), ok(X3)) → U111(X1, X2, X3)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
PROPER(U11(X1, X2, X3)) → PROPER(X3)
PROPER(U12(X1, X2, X3)) → PROPER(X1)
PROPER(U21(X1, X2, X3)) → PROPER(X1)
PROPER(x(X1, X2)) → PROPER(X1)
PROPER(plus(X1, X2)) → PROPER(X1)
PROPER(U12(X1, X2, X3)) → PROPER(X3)
PROPER(U21(X1, X2, X3)) → PROPER(X3)
PROPER(U22(X1, X2, X3)) → PROPER(X3)
PROPER(U11(X1, X2, X3)) → PROPER(X2)
PROPER(s(X)) → PROPER(X)
PROPER(U11(X1, X2, X3)) → PROPER(X1)
PROPER(U22(X1, X2, X3)) → PROPER(X1)
PROPER(U12(X1, X2, X3)) → PROPER(X2)
PROPER(U21(X1, X2, X3)) → PROPER(X2)
PROPER(plus(X1, X2)) → PROPER(X2)
PROPER(x(X1, X2)) → PROPER(X2)
PROPER(U22(X1, X2, X3)) → PROPER(X2)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
PROPER(U11(X1, X2, X3)) → PROPER(X3)
PROPER(U12(X1, X2, X3)) → PROPER(X1)
PROPER(U21(X1, X2, X3)) → PROPER(X1)
PROPER(x(X1, X2)) → PROPER(X1)
PROPER(plus(X1, X2)) → PROPER(X1)
PROPER(U12(X1, X2, X3)) → PROPER(X3)
PROPER(U21(X1, X2, X3)) → PROPER(X3)
PROPER(U22(X1, X2, X3)) → PROPER(X3)
PROPER(U11(X1, X2, X3)) → PROPER(X2)
PROPER(s(X)) → PROPER(X)
PROPER(U11(X1, X2, X3)) → PROPER(X1)
PROPER(U22(X1, X2, X3)) → PROPER(X1)
PROPER(U21(X1, X2, X3)) → PROPER(X2)
PROPER(U12(X1, X2, X3)) → PROPER(X2)
PROPER(plus(X1, X2)) → PROPER(X2)
PROPER(x(X1, X2)) → PROPER(X2)
PROPER(U22(X1, X2, X3)) → PROPER(X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
ACTIVE(U21(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(plus(X1, X2)) → ACTIVE(X1)
ACTIVE(U12(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(x(X1, X2)) → ACTIVE(X2)
ACTIVE(plus(X1, X2)) → ACTIVE(X2)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(U22(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(x(X1, X2)) → ACTIVE(X1)
ACTIVE(U11(X1, X2, X3)) → ACTIVE(X1)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
ACTIVE(plus(X1, X2)) → ACTIVE(X1)
ACTIVE(U21(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U12(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(plus(X1, X2)) → ACTIVE(X2)
ACTIVE(x(X1, X2)) → ACTIVE(X2)
ACTIVE(U22(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U11(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(x(X1, X2)) → ACTIVE(X1)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
TOP(mark(X)) → TOP(proper(X))
TOP(ok(X)) → TOP(active(X))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
POL(0) = 0
POL(TOP(x1)) = 2·x1
POL(U11(x1, x2, x3)) = 2·x1 + x2 + 2·x3
POL(U12(x1, x2, x3)) = x1 + 2·x2 + x3
POL(U21(x1, x2, x3)) = x1 + x2 + x3
POL(U22(x1, x2, x3)) = 2·x1 + 2·x2 + 2·x3
POL(active(x1)) = 2·x1
POL(mark(x1)) = x1
POL(ok(x1)) = 2·x1
POL(plus(x1, x2)) = 2·x1 + 2·x2
POL(proper(x1)) = x1
POL(s(x1)) = x1
POL(tt) = 0
POL(x(x1, x2)) = x1 + 2·x2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
TOP(mark(X)) → TOP(proper(X))
TOP(ok(X)) → TOP(active(X))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(tt)) → TOP(ok(tt))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(mark(0)) → TOP(ok(0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(tt)) → TOP(ok(tt))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(mark(0)) → TOP(ok(0))
TOP(ok(X)) → TOP(active(X))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U22(tt, x0, x1))) → TOP(mark(plus(x(x1, x0), x1)))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(x(x0, 0))) → TOP(mark(0))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(plus(x0, 0))) → TOP(mark(x0))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(x(x0, s(x1)))) → TOP(mark(U21(tt, x1, x0)))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(ok(U12(tt, x0, x1))) → TOP(mark(s(plus(x1, x0))))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
TOP(ok(plus(x0, s(x1)))) → TOP(mark(U11(tt, x1, x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U22(tt, x0, x1))) → TOP(mark(plus(x(x1, x0), x1)))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(plus(x0, 0))) → TOP(mark(x0))
TOP(mark(tt)) → TOP(ok(tt))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(ok(U12(tt, x0, x1))) → TOP(mark(s(plus(x1, x0))))
TOP(ok(plus(x0, s(x1)))) → TOP(mark(U11(tt, x1, x0)))
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(x(x0, 0))) → TOP(mark(0))
TOP(mark(0)) → TOP(ok(0))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(x(x0, s(x1)))) → TOP(mark(U21(tt, x1, x0)))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U22(tt, x0, x1))) → TOP(mark(plus(x(x1, x0), x1)))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(plus(x0, 0))) → TOP(mark(x0))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(x(x0, s(x1)))) → TOP(mark(U21(tt, x1, x0)))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(ok(U12(tt, x0, x1))) → TOP(mark(s(plus(x1, x0))))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
TOP(ok(plus(x0, s(x1)))) → TOP(mark(U11(tt, x1, x0)))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TOP(ok(U22(tt, x0, x1))) → TOP(mark(plus(x(x1, x0), x1)))
TOP(ok(plus(x0, 0))) → TOP(mark(x0))
TOP(ok(x(x0, s(x1)))) → TOP(mark(U21(tt, x1, x0)))
TOP(ok(U12(tt, x0, x1))) → TOP(mark(s(plus(x1, x0))))
TOP(ok(plus(x0, s(x1)))) → TOP(mark(U11(tt, x1, x0)))
Used ordering: Combined order from the following AFS and order.
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
[U213, x2, U223] > [plus2, U113, U123] > tt > s1
[U213, x2, U223] > 0
plus2: [2,1]
tt: multiset
U223: [2,3,1]
U113: [2,3,1]
x2: [2,1]
s1: multiset
U123: [2,3,1]
U213: [2,3,1]
0: multiset
plus(mark(X1), X2) → mark(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
s(ok(X)) → ok(s(X))
s(mark(X)) → mark(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
proper(s(X)) → s(proper(X))
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
active(plus(N, 0)) → mark(N)
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
proper(0) → ok(0)
active(U11(tt, M, N)) → mark(U12(tt, M, N))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TOP(ok(U11(tt, x0, x1))) → TOP(mark(U12(tt, x0, x1)))
Used ordering: Polynomial interpretation [25]:
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
POL(0) = 0
POL(TOP(x1)) = x1
POL(U11(x1, x2, x3)) = 1 + x2
POL(U12(x1, x2, x3)) = x2
POL(U21(x1, x2, x3)) = x3
POL(U22(x1, x2, x3)) = x3
POL(active(x1)) = 0
POL(mark(x1)) = x1
POL(ok(x1)) = x1
POL(plus(x1, x2)) = 0
POL(proper(x1)) = x1
POL(s(x1)) = 0
POL(tt) = 0
POL(x(x1, x2)) = 0
plus(mark(X1), X2) → mark(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
s(ok(X)) → ok(s(X))
s(mark(X)) → mark(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
proper(s(X)) → s(proper(X))
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TOP(ok(U21(tt, x0, x1))) → TOP(mark(U22(tt, x0, x1)))
Used ordering: Polynomial interpretation [25]:
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
POL(0) = 0
POL(TOP(x1)) = x1
POL(U11(x1, x2, x3)) = 0
POL(U12(x1, x2, x3)) = x2
POL(U21(x1, x2, x3)) = 1
POL(U22(x1, x2, x3)) = 0
POL(active(x1)) = 0
POL(mark(x1)) = x1
POL(ok(x1)) = x1
POL(plus(x1, x2)) = 0
POL(proper(x1)) = x1
POL(s(x1)) = 0
POL(tt) = 0
POL(x(x1, x2)) = 0
plus(mark(X1), X2) → mark(plus(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
s(ok(X)) → ok(s(X))
s(mark(X)) → mark(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
proper(s(X)) → s(proper(X))
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
TOP(mark(U21(x0, x1, x2))) → TOP(U21(proper(x0), proper(x1), proper(x2)))
TOP(mark(x(x0, x1))) → TOP(x(proper(x0), proper(x1)))
TOP(mark(plus(x0, x1))) → TOP(plus(proper(x0), proper(x1)))
TOP(ok(plus(x0, x1))) → TOP(plus(x0, active(x1)))
TOP(mark(s(x0))) → TOP(s(proper(x0)))
TOP(ok(U11(x0, x1, x2))) → TOP(U11(active(x0), x1, x2))
TOP(ok(U12(x0, x1, x2))) → TOP(U12(active(x0), x1, x2))
TOP(ok(U22(x0, x1, x2))) → TOP(U22(active(x0), x1, x2))
TOP(ok(plus(x0, x1))) → TOP(plus(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(active(x0), x1))
TOP(ok(x(x0, x1))) → TOP(x(x0, active(x1)))
TOP(ok(s(x0))) → TOP(s(active(x0)))
TOP(mark(U11(x0, x1, x2))) → TOP(U11(proper(x0), proper(x1), proper(x2)))
TOP(mark(U12(x0, x1, x2))) → TOP(U12(proper(x0), proper(x1), proper(x2)))
TOP(mark(U22(x0, x1, x2))) → TOP(U22(proper(x0), proper(x1), proper(x2)))
TOP(ok(U21(x0, x1, x2))) → TOP(U21(active(x0), x1, x2))
active(U11(tt, M, N)) → mark(U12(tt, M, N))
active(U12(tt, M, N)) → mark(s(plus(N, M)))
active(U21(tt, M, N)) → mark(U22(tt, M, N))
active(U22(tt, M, N)) → mark(plus(x(N, M), N))
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(U11(tt, M, N))
active(x(N, 0)) → mark(0)
active(x(N, s(M))) → mark(U21(tt, M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2, X3)) → U22(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
U22(mark(X1), X2, X3) → mark(U22(X1, X2, X3))
U22(ok(X1), ok(X2), ok(X3)) → ok(U22(X1, X2, X3))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(mark(X)) → mark(s(X))
s(ok(X)) → ok(s(X))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2, X3)) → U22(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(0) → ok(0)